﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using WalkingTec.Mvvm.Core;

namespace ItemStatistics.Models
{
    [Display(Name = "领取信息")]
    public class ReciveInfo:BasePoco
    {

        [Display(Name = "姓名")]
        public Guid CustomerId {  get; set; }
        [ForeignKey(nameof(CustomerId))]
        public Customer Customer { get; set; }
        [Display(Name = "礼品")]
        public Guid GiftId { get; set; }
        [ForeignKey(nameof(GiftId))]
        public Gift Gift { get; set; }

        [Display(Name = "数量")]
        public decimal Number { get; set; } = 1m;


    }
}
